package com.edu.bhu.admin.mapper;

import java.util.List;
import com.edu.bhu.admin.domain.LibRepertory;

/**
 * 库存Mapper接口
 * 
 * @author wangweibo
 * @date 2022-02-16
 */
public interface LibRepertoryMapper 
{
    /**
     * 查询库存
     * 
     * @param repId 库存主键
     * @return 库存
     */
    public LibRepertory selectLibRepertoryByRepId(Long repId);

    /**
     * 查询库存列表
     * 
     * @param libRepertory 库存
     * @return 库存集合
     */
    public List<LibRepertory> selectLibRepertoryList(LibRepertory libRepertory);

    /**
     * 新增库存
     * 
     * @param libRepertory 库存
     * @return 结果
     */
    public int insertLibRepertory(LibRepertory libRepertory);

    /**
     * 修改库存
     * 
     * @param libRepertory 库存
     * @return 结果
     */
    public int updateLibRepertory(LibRepertory libRepertory);

    /**
     * 删除库存
     * 
     * @param repId 库存主键
     * @return 结果
     */
    public int deleteLibRepertoryByRepId(Long repId);

    /**
     * 批量删除库存
     * 
     * @param repIds 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteLibRepertoryByRepIds(String[] repIds);
}
